package com.linkcard.list.model;

/**
 * News entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class News implements java.io.Serializable {

	// Fields

	private Integer id;
	private String title;
	private Integer categoryId;
	private Integer subCategoryId;
	private String content;
	private Integer publisher;
	private String datetime;
	private Integer recommend;

	// Constructors

	/** default constructor */
	public News() {
	}

	/** full constructor */
	public News(String title, Integer categoryId, Integer subCategoryId,
			String content, Integer publisher, String datetime,
			Integer recommend) {
		this.title = title;
		this.categoryId = categoryId;
		this.subCategoryId = subCategoryId;
		this.content = content;
		this.publisher = publisher;
		this.datetime = datetime;
		this.recommend = recommend;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getCategoryId() {
		return this.categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public Integer getSubCategoryId() {
		return this.subCategoryId;
	}

	public void setSubCategoryId(Integer subCategoryId) {
		this.subCategoryId = subCategoryId;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getPublisher() {
		return this.publisher;
	}

	public void setPublisher(Integer publisher) {
		this.publisher = publisher;
	}

	public String getDatetime() {
		return this.datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public Integer getRecommend() {
		return this.recommend;
	}

	public void setRecommend(Integer recommend) {
		this.recommend = recommend;
	}

}